package org.NooLab.texxplugg.assign.randomgraph;

import java.util.ArrayList;

import org.NooLab.texx.plugg.algo.intf.AlgoAssignatorAbstract;
import org.NooLab.texx.plugg.algo.intf.TextObject;


public class AssignRandomGraph extends AlgoAssignatorAbstract {

	private static final long serialVersionUID = 4626653909814976300L;
	
	String versionStr = "1.00.02" ;
	String receiptGuid = "" ;
	String instanceGuid = "" ;

	RandomGrapher rGrapher ;
	
	// ========================================================================
	public AssignRandomGraph(){
		super();
		instanceGuid = org.NooLab.utilities.net.GUID.randomvalue() ;
	}
	// ========================================================================
	
	
	
	@Override
	public int calculate() throws Exception {
		int r= 11;
		
		headerColumns.add("pi") ;  
		values.add(3.14 * text.length()/10) ;

		rGrapher = new RandomGrapher(this) ;
		
		System.err.println("Inside Algorithm 'AssignRandomGraph' ("+this.toString().replace("org.NooLab.", "")+"), instanceGuid = "+instanceGuid+" ");
		System.err.println("           text object (L="+text.length()+")        ("+textObj.toString().replace("org.NooLab.", "")+") ");

		return r;
	}



	@Override
	public String setDataDescription(Object descriptionObj) {
		// TODO Auto-generated method stub
		return null;
	}

	// ========================================================================
	
	
	
	@Override
	public int getOutputColumnsCount() {
		// TODO Auto-generated method stub
		return 0;
	}



	@Override
	public int getOutputSize() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getInputSize() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String getVersion() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getInstanceGuid() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ArrayList<Double> getDescriptiveResults() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setParameters(ArrayList<Object> params) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public String getDescription() {
		String description = "This plugin creates a random vector from a series of symbolic entities" ;
		return description ;
	}

 



	

}
